package com.ruoyi.project.data.proc.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 交易日处理查询对象 ws_tr_date_proc_state
 *
 * @author 魏刚
 * @date 2020-03-15
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
@TableName(value = "ds_tr_date_proc_state")
public class DsTrDateProcState implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id",type = IdType.UUID)
    private String id;

    /** 交易日期 */
    @Excel(name = "交易日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trDate;

    /** 处理标识 */
    @Excel(name = "处理标识")
    private Integer processFlag;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private Integer state;

    /** null */
    @Excel(name = "null")
    private String reserve;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public Date getTrDate() {
        return trDate;
    }
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public void setTrDate(Date trDate) {
        this.trDate = trDate;
    }

    public Integer getProcessFlag() {
        return processFlag;
    }

    public void setProcessFlag(Integer processFlag) {
        this.processFlag = processFlag;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getReserve() {
        return reserve;
    }

    public void setReserve(String reserve) {
        this.reserve = reserve;
    }
}
